package cn.tedu.buycradserver.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * SPU（Standard Product Unit）
 *
 * @author java@tedu.cn
 * @version 0.0.1
 */
@Data
@Accessors(chain = true)
@TableName(value = "pms_spu")
public class Spu implements Serializable {
    /**
     * 记录id
     */
    @TableId(type = IdType.AUTO)
    //id
    private Long id;
    //类别id
    private Long categoryId;
    //稀有度
    private String rale;
    //类别名称
    private String categoryName;
    //等级
    private Integer level;
    //属性
    private String attribute;
    //名字
    private String name;
    //种类
    private String type;

}